# 跨机请求（跨机）
import DID_interface

sender_did="did:p2p_did_chat:Yk6hiAdlTA"
receiver_did="did:p2p_did_chat:vpMAvH0TIx"
ip="10.70.43.39"
request = {
 "action": "SYNC_REQUEST",
"sender": receiver_did,
"kuaji_did":sender_did,
 "modules": "modules" # 指定需要同步basic_info(包括好友信息和群聊信息),messages
}

data=DID_interface.meg_sync_require(sender_did,receiver_did,ip,request)
print(data)
